﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CloudChartLib
{
    /// <summary>
    /// RGB
    /// </summary>
    public struct RGB
    {
        /// <summary>
        /// 初始化RGB
        /// </summary>
        /// <param name="r">红</param>
        /// <param name="g">绿</param>
        /// <param name="b">蓝</param>
        public RGB(byte r, byte g, byte b)
        {
            R = r;
            G = g;
            B = b;
        }

        /// <summary>
        /// 红
        /// </summary>
        public byte R;

        /// <summary>
        /// 绿
        /// </summary>
        public byte G;

        /// <summary>
        /// 蓝
        /// </summary>
        public byte B;
    }
}
